# 40-47 back 100-107
# 90-97 front 30-37

class ColorLog
  def self.log(front, back, *str)
    "\033[1;#{front % 7 + 30};#{back % 7 + 40}m#{str.join.to_s}\033[0m"
  end

  def self.logLn(front, back, *str)
    "\033[1;#{front % 7 + 30};#{back % 7 + 40}m#{str.join.to_s}\033[0m\n"
  end

  def ColorLog.Println(level, *str)
    printf self.logLn(level, 0, *str)
  end
end

# ColorLog::Println(1, "12")
#